var filter = require('./5.filter')

var arr=[1,2,4,4,89]

var callback=function (item) {
   return item>2;// true /false --- 过滤条件
}

var filteredArray= filter.arrayFilter(arr,callback); //[89]

console.log(filteredArray)
// returnedArray.psuh
